Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "Content-Dispositon" header #210

Merged
merged 1 commit into from
May 30, 2024
Merged

Conversation

tatiana-nspcc
Copy link
Contributor

Add "Content-Disposition" to every GET/HEAD object response independently of the FileName attribute. With the new upload request, it is no longer necessary for the object to have the FileName attribute.

Add "Content-Disposition" to every GET/HEAD object response independently of
the `FileName` attribute. With the new upload request, it is no longer
necessary for the object to have the `FileName` attribute.

Signed-off-by: Tatiana Nesterenko <[email protected]>
Copy link

codecov bot commented May 29, 2024

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 22.17%. Comparing base (b74eabc) to head (318d8e7).
Report is 10 commits behind head on master.

Files Patch % Lines
handlers/objects.go 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #210      +/-   ##
==========================================
- Coverage   22.20%   22.17%   -0.03%     
==========================================
  Files          16       17       +1     
  Lines        2896     3296     +400     
==========================================
+ Hits          643      731      +88     
- Misses       2137     2432     +295     
- Partials      116      133      +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@roman-khimov roman-khimov added this to the v0.9.0 milestone May 29, 2024
@roman-khimov roman-khimov merged commit d9e78f3 into master May 30, 2024
12 of 14 checks passed
@roman-khimov roman-khimov deleted the fix-content-disposition branch May 30, 2024 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants